import request from '@/utils/request'

// 订单相关
// 生成-订单(结算页)
export const createOrderService = () => request.get('/member/order/pre')
// 提交-订单
export const submitOrderService = (data) => request.post('/member/order', data)
// 获取-订单详情(以及支付结果)
export const getOrderDetailService = (id) => request.get(`/member/order/${id}`)
